package com.hh.store.VO;

import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author Hanh
 * @date 2023/8/17 10:35s
 */
@Data
public class AddStoreVo {

    //库房编码
    @NotBlank(message = "库房编码不能为空！")
    private String roomCode;

    //库区编码
    @NotBlank(message = "库区编码不能为空")
    private String areaCode;

    //库位集合
    @NotNull(message = "请您输入有效的库位信息！")
    @Valid
    private List<AddStoreCodeNameVo> store;
   //库位编码
  /* @NotBlank(message = "库位编码不能为空")
   private String code;
    //库位名称
    @NotBlank(message = "库位名称不能为空")
    private String name;*/



}
